import { request } from "@/utils/request";
//封装管理员评价


//1、获取课程评价信息
export function getEvaluateAPI(){
    return request({
        url:'/admin/getEvaluate',
        method:'GET'
    })
}

//2,修改课程评价
export function updateEvaluateAPI(evaluateId,studentEvaluateContent,coachEvaluateContent){
    return request({
        url:'/admin/updateEvaluate',
        method:'PUT',
        data:
        {
            evaluateId:evaluateId,
            studentEvaluateContent:studentEvaluateContent,
            coachEvaluateContent:coachEvaluateContent
        }
    })
}

//3、获取模拟考试评价
export function getMockExaminationEvaluateAPI(){
    return request({
        url:'/admin/getMockExaminationEvaluate',
        method:'GET'
    })
}


//4.修改模拟考试评价
export function updateMockExaminationEvaluateAPI(mockExaminationId,mockExaminationScore,mockExaminationMessage){
    return request({
        url:'/admin/updateMockExaminationEvaluate',
        method:'PUT',
        data:
        {
            mockExaminationId:mockExaminationId,
            mockExaminationScore:mockExaminationScore,
            mockExaminationMessage:mockExaminationMessage
        }
    })
}